// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.


using System.Threading.Tasks;

namespace Duende.IdentityServer.Validation
{
    /// <summary>
    /// Interface for the backchannel authentication user validation
    /// </summary>
    public interface IBackchannelAuthenticationUserValidator
    {
        /// <summary>
        /// Validates the user.
        /// </summary>
        /// <param name="userValidatorContext"></param>
        /// <returns></returns>
        Task<BackchannelAuthenticationUserValidatonResult> ValidateRequestAsync(BackchannelAuthenticationUserValidatorContext userValidatorContext);
    }
}